package com.safety51.bootstrap.demo.dev;

import com.safety51.bootstrap.commons.context.UserInfoContext;
import lombok.extern.slf4j.Slf4j;

/**
 * Created by liuyuancheng on 2021/10/29  <br/>
 *
 * @author liuyuancheng
 */
@Slf4j
public class DevUserInfoForUnitTest {

    public static void init() {
        UserInfoContext.UserInfo userInfo = UserInfoContext.UserInfo.builder()
                .avatar("")
                .enterpriseId("nanjinggongyizhuangb")
                .userId("admin_njgyzb")
                .enterpriseName("南京工艺装备制造有限公司")
                .realName("")
                .accessToken("dev")
                .build();
        UserInfoContext.setUserInfo(userInfo);

    }
}
